import { Base } from "../../utils/base";
class User extends Base{
  Login(data,callBack,eCallBack){
    var params = {
      url:'user/login',
      data:data,
      type:"post",
      sCallBack:function(res){ callBack && callBack(res.data) },
      eCallBack:function(err){ eCallBack && eCallBack(err.data)}
    }
    this.request(params);
  }
}
export{User};